package com.xsir.service;

import com.xsir.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xsir
 * @since 2020-11-03
 */
public interface ICategoryService extends IService<Category> {
    /**
     * 查询指定文章的类别
     * @param articleId 文章编号
     * @return
     */
    Category getByArticle(Integer articleId);
}
